#pragma once
#include "DataStructure/Common/Id.h"
#include "DataStructure/Common/Real.h"
#include "DataStructure/Result/Nodal/NodalBase.h"

SG_DATASTRUCTURE_POST_NAMESPACE_OPEN

struct GRID_FORCE_CPLXData : public NodalBase
{
    SG::DataStructure::Common::Id   m_eId       = 0;      ///<
    char                            m_ELNAME[8] = { 0 };  ///<
    SG::DataStructure::Common::Real m_F1R       = 0.0;    ///<
    SG::DataStructure::Common::Real m_F2R       = 0.0;    ///<
    SG::DataStructure::Common::Real m_F3R       = 0.0;    ///<
    SG::DataStructure::Common::Real m_M1R       = 0.0;    ///<
    SG::DataStructure::Common::Real m_M2R       = 0.0;    ///<
    SG::DataStructure::Common::Real m_M3R       = 0.0;    ///<
    SG::DataStructure::Common::Real m_F1I       = 0.0;    ///<
    SG::DataStructure::Common::Real m_F2I       = 0.0;    ///<
    SG::DataStructure::Common::Real m_F3I       = 0.0;    ///<
    SG::DataStructure::Common::Real m_M1I       = 0.0;    ///<
    SG::DataStructure::Common::Real m_M2I       = 0.0;    ///<
    SG::DataStructure::Common::Real m_M3I       = 0.0;    ///<
    SG::DataStructure::Common::Id   m_domainId  = 0;      ///<
};

///< @brief 判断数据是否相等
DECLSPEC bool operator== (const GRID_FORCE_CPLXData& val1, const GRID_FORCE_CPLXData& val2);

SG_DATASTRUCTURE_POST_NAMESPACE_CLOSE
